# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ModifyPolicyDetailSpec(object):

    def __init__(self, fireTime=None, fireCondition=None, execNumLimit=None, addExecConfig=None, delExecConfig=None, log=None):
        """
        :param fireTime: (Optional) 触发时间，针对开启的策略生效，格式"yyyy-MM-dd HH24:mm:ss"
        :param fireCondition: (Optional) 策略触发条件/周期，参考创建策略的规则
        :param execNumLimit: (Optional) 策略触发执行累计次数达到execNumLimit后，自动失效变为disable状态。该参数为-1时不生效，大于0时生效。
        :param addExecConfig: (Optional) 增加该策略执行时的额外条件配置。如果与原有配置冲突，会执行覆盖操作。
        :param delExecConfig: (Optional) 要删除的条件配置，需要指定配置key的列表
        :param log: (Optional) 日志配置
        """

        self.fireTime = fireTime
        self.fireCondition = fireCondition
        self.execNumLimit = execNumLimit
        self.addExecConfig = addExecConfig
        self.delExecConfig = delExecConfig
        self.log = log
